extends layout

block content
  h1= title
  div#page-wrapper
    div#page-inner
        div.row
            div.col-md-6.col-sm-12
                div.panel.panel-default
                    div.panel-heading
                        label= message
                    div.panel-body
                        div.row
                            ul.nav.nav-tabs
                              li.active
                                a(href="#login" data-toggle="tab") 登录
                              li
                                a(href="#mail_register" data-toggle="tab") 注册

                          div.tab-content
                            div.tab-pane.fade.active.in#login
                                div.row
                                    form(action="/loginv1",method="post")
                                        div.row
                                            div.col-sm-2
                                                label 用户名
                                            div.col-sm-4
                                                input.form-control(placeholder="用户名",name="USERNAME")
                                        div.row
                                            div.col-sm-2
                                                label 密码
                                            div.col-sm-4
                                                input.form-control(placeholder="密码",type="password",name="PASSWD")

                                        button(type="submit").btn.btn-default 登录
                            div.tab-pane.fade#mail_register
                                div.row
                                    form(action="/register/name",method="post")
                                        div.row
                                            div.col-sm-2
                                                label 用户名
                                            div.col-sm-4
                                                input.form-control(placeholder="用户名",name="NAME")
                                        div.row
                                            div.col-sm-2
                                                label 密码
                                            div.col-sm-4
                                                input.form-control(placeholder="密码",type="password",name="PASSWORD")
                                        div.row
                                            div.col-sm-2
                                                label 确定密码
                                            div.col-sm-4
                                                input.form-control(placeholder="密码",type="password",name="REPASSWORD")
                                        button(type="submit").btn.btn-default 注册
                             